package flashcardtest;

public class FlashCard implements java.io.Serializable {
	private String key1;
	private String key2;
	
	public FlashCard(String key1, String key2) {
		this.key1 = key1;
		this.key2 = key2;
	}

	public boolean equals(FlashCard test) {
		if ( this.key1.toUpperCase().equals(test.getKey1().toUpperCase()) && 
			 this.key2.toUpperCase().equals(test.getKey2().toUpperCase()) ) {
			return true;
		}
		else {
			return false;
		}
	}
	public String getKey1() {
		return this.key1;
	}

	public String getKey2() {
		return this.key2;
	}

}